projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31e5f7
)
testsuite: Handle warnings in CSS tests
author
Benjamin Otte
<otte@redhat.com>
Tue, 9 Apr 2019 04:37:32 +0000
(06:37 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 12 Apr 2019 17:34:28 +0000
(19:34 +0200)
testsuite/css/parser/test-css-parser.c
patch
|
blob
|
history
diff --git
a/testsuite/css/parser/test-css-parser.c
b/testsuite/css/parser/test-css-parser.c
index 311243d369f90e049ce225012a6584a194a4b445..4fa12810145509ee8c416453199bb31c47bf9153 100644
(file)
--- a/
testsuite/css/parser/test-css-parser.c
+++ b/
testsuite/css/parser/test-css-parser.c
@@
-151,7
+151,9
@@
parsing_error_cb (GtkCssProvider *provider,
g_free (basename);
if (error->domain == GTK_CSS_PARSER_ERROR)
- append_error_value (errors, GTK_TYPE_CSS_PARSER_ERROR, error->code);
+ append_error_value (errors, GTK_TYPE_CSS_PARSER_ERROR, error->code);
+ else if (error->domain == GTK_CSS_PARSER_WARNING)
+ append_error_value (errors, GTK_TYPE_CSS_PARSER_WARNING, error->code);
else
g_string_append_printf (errors,
"%s %u\n",